تعرف ايه اللى بيحصل من وراك فى الـ JavaScript لما بتكتب كود زي ده؟
var str = "hello"; str = str.substring(0, 2);
الـ str هنا عبارة عن primitive type مش المفروض يبقى فيه properties او functions. الـ JavaScript بتاخد الـ str وتعمل منه String Object وتنفذ ال substring وتاخد النتيجة على جنب وتمسح ال Object اللى اتعمل وتعمل من النتيجة value جديدة لـ str.
وتعرف ان الـ int فى الـ C# عبارة عن primitive type برضه لكنه فى الأصل struct. علشان كدة ممكن تلاقى فيه function زي ToString مثلاً عادي.
وتعرف ان الـ variables فى لغة زي Rust هى immutable بالفطرة ولو عايزن تبقى mutable لازم تحدد ده بنفسك.
تعرف ان الـ string فى C# يعتبر immutable لكن الـ StringBuilder يعتبر mutable وان ال string فى الـ javascript برضه immutable لكنه فى لغة زي الـ PHP بيبقى mutable.
على الرغم من انك مش مطالب تعرف كل لغة بتتعامل مع الداتا ازاى لكنك مطالب بحاجتين 1- تعرف لغتك كويس بتعمل ايه من جوه 2- ماتفترضش ان اللى بيحصل فى لغتك بيحصل فى باقى اللغات (حتى لو فى تشابه كبير)
تعرف ايه اللى بيحصل من وراك فى الـ JavaScript لما بتكتب كود زي ده؟
var str = "hello"; str = str.substring(0, 2);
الـ str هنا عبارة عن primitive type مش المفروض يبقى فيه properties او functions. الـ JavaScript بتاخد الـ str وتعمل منه String Object وتنفذ ال substring وتاخد النتيجة على جنب وتمسح ال Object اللى اتعمل وتعمل من النتيجة value جديدة لـ str.
وتعرف ان الـ int فى الـ C# عبارة عن primitive type برضه لكنه فى الأصل struct. علشان كدة ممكن تلاقى فيه function زي ToString مثلاً عادي.
وتعرف ان الـ variables فى لغة زي Rust هى immutable بالفطرة ولو عايزن تبقى mutable لازم تحدد ده بنفسك.
تعرف ان الـ string فى C# يعتبر immutable لكن الـ StringBuilder يعتبر mutable وان ال string فى الـ javascript برضه immutable لكنه فى لغة زي الـ PHP بيبقى mutable.
على الرغم من انك مش مطالب تعرف كل لغة بتتعامل مع الداتا ازاى لكنك مطالب بحاجتين 1- تعرف لغتك كويس بتعمل ايه من جوه 2- ماتفترضش ان اللى بيحصل فى لغتك بيحصل فى باقى اللغات (حتى لو فى تشابه كبير)
منقول
BY Web Development Code
Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283
That strategy is the acquisition of a value-priced company by a growth company. Using the growth company's higher-priced stock for the acquisition can produce outsized revenue and earnings growth. Even better is the use of cash, particularly in a growth period when financial aggressiveness is accepted and even positively viewed.he key public rationale behind this strategy is synergy - the 1+1=3 view. In many cases, synergy does occur and is valuable. However, in other cases, particularly as the strategy gains popularity, it doesn't. Joining two different organizations, workforces and cultures is a challenge. Simply putting two separate organizations together necessarily creates disruptions and conflicts that can undermine both operations.
The messaging service and social-media platform owes creditors roughly $700 million by the end of April, according to people briefed on the company’s plans and loan documents viewed by The Wall Street Journal. At the same time, Telegram Group Inc. must cover rising equipment and bandwidth expenses because of its rapid growth, despite going years without attempting to generate revenue.